package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月19 15:54
 * @desc 流程业务类型
 */
public enum ProcessBizEnum implements IDescription {

    SEAL("seal","oa_seal_process", "印章申请"),
    EXPENSES("expenses","oa_expenses_process", "费用报销"),
    BORROW("borrow","oa_borrow_process", "费用借支"),
    MATERIAL("material","oa_material_process", "材料付款"),
    PRODUCTION("production","oa_production_process", "生产付款"),
    ORDER("order", "wechat_order", "智能订单"),
    LEAVE("leave", "oa_leave_process", "请假申请"),
    SUPPLEMENT("supplement", "oa_supplement_process", "考勤补卡"),
    MORTGAGE("mortgage", "oa_mortgage_process", "抵房流程"),
	INVOICE("invoice", "oa_invoice_process", "发票开票流程"),
    BUY("buy", "oa_buy_process", "辅材申购流程"),
    PROPERTY_TRANSFER("property_transfer", "oa_property_transfer_process", "资产调拨流程"),
    PROPERTY_INTERNAL("property_internal", "oa_property_internal_process", "内部资产调拨"),
    PROPERTY_CLEAR("property_clear", "oa_property_clear_process", "资产清理流程"),
    SALE_CONTRACT("sale_contract", "oa_sale_contract_process", "销售合同评审"),
    SALE_SUPPLY("sale_supply", "oa_sale_supply_process", "工程授信流程"),
	SALE_CON_PAYMENT("sale_contract_payment", "sale_contract_payment", "销售回款"),
	;

    private final String description;

    private final String name;

    private final String code;

    ProcessBizEnum(String code, String name, String description) {
        this.description = description;
        this.code = code;
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public String getCode() {return code;}

    public String getName() {return name;}
}
